package com.lhkj.ct.meta.modules.psychology.model.bo;

import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

/**
 * <p>
 * 描述
 * </p>
 *
 * @author job
 * @since 2023/10/23
 */
public class PatientItem implements Serializable {

    private static final long serialVersionUID = 1L;

    public PatientItem(String label, String name, String type, String format, String dictCode, boolean required, Object value) {
        this.label = label;
        this.name = name;
        this.type = type;
        this.format = format;
        this.dictCode = dictCode;
        this.required = required;
        this.value = value;
    }

    @ApiModelProperty(value = "字典描述")
    private String label;

    @ApiModelProperty(value = "前端input框name")
    private String name;

    @ApiModelProperty(value = "前端输入框类型")
    private String type;

    @ApiModelProperty(value = "格式，如日期格式等")
    private String format;

    @ApiModelProperty(value = "数据字典key")
    private String dictCode;

    @ApiModelProperty(value = "是否必填")
    private boolean required;

    @ApiModelProperty(value = "默认值")
    private Object value;

    public String getLabel() {
        return label;
    }

    public void setLabel(String label) {
        this.label = label;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getFormat() {
        return format;
    }

    public void setFormat(String format) {
        this.format = format;
    }

    public String getDictCode() {
        return dictCode;
    }

    public void setDictCode(String dictCode) {
        this.dictCode = dictCode;
    }

    public boolean isRequired() {
        return required;
    }

    public void setRequired(boolean required) {
        this.required = required;
    }

    public Object getValue() {
        return value;
    }

    public void setValue(Object value) {
        this.value = value;
    }
}
